#!/sbin/msh

onexit /sbin/reboot

/sbin/kmount -vc /dev
reopen /dev/console

/sbin/kmount -vc /sys
/sbin/kmount -vc /proc

setenv PATH /sbin:/bin

/sbin/cmd

exec /sbin/reboot -p
